//
//  HNDownLoadFile.h
//  XDEducation
//
//  Created by 星道 on 17/6/5.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HNHappyFamilyMusicWorldModel.h"

@interface HNDownLoadFile : NSObject

/** PathArr保存获取的文件名称：xxxx.xx，根据这个字符串查找本地是否有相同的文件，将结果保存在Arr =@[ @(BOOL) ]*/
+ (BOOL)JudgePathIsRealWithFileName:(NSString *)FileName;



//下载音乐到指定的地址
+ (void)DownFileWithModel:(HNHappyFamilyMusicWorldModel *)Model Progress:(void (^)(CGFloat))Progress Complete:(void(^)(NSString *FullPath,NSError *Err))Complete;




//检查并删除本地数据
+ (void)RemovePathForCheckPath:(NSString *)Path;




//获取目录下的所有所有音乐文件
+ (NSArray <HNHappyFamilyMusicWorldModel *>*)GetAllDownLoadMusic;
@end
